<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
      }
      .column {
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .box{
        background-color:pink ;
        margin: 10px;
      }
      .father {
        width: 500px;
        height: 500px;
        border: 1px solid black;
        align-items: center;
        flex-wrap: wrap;
      }
      .box02{
        align-self: stretch;
        /*  是一个特定的值，用于使子元素在交叉轴上尽可能地伸展。以下是详细的解释和示例： */
      }
      .box03{
        /* 前端的flex：1；相当于鸿蒙的.layoutWeight(1) */
        flex: 1;
      }
    </style>
  </head>
  <body>
    <div class="father row">
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box">段落1</p>
      <p class="box box02">段落2</p>
      <p class="box box03">段落3</p>
      <p class="box box03">段落3</p>
    </div>
  </body>
</html>
